<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="FCK" uri="http://java.fckeditor.net" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="/KOMORIUTA/Mypage/fckeditor/fckeditor.js">


</script>
<script>
function aaa(){
	//location.href="/KOMORIUTA/PhotoFreeAction.do?action=pt_free_write&members_id="+pfwrite.members_id.value+"&po_title="+pfwrite.po_title.value+"&po_nick="+pfwrite.po_nick.value+"&po_contents="+pfwrite.po_contents.value;
	document.pfwrite.submit();
}
</script>
</head>
<%
String nick=(String)session.getAttribute("Mem_Nick");
%>
<body>
<form action="/KOMORIUTA/PhotoFreeAction.do" method="post" name="pfwrite">
<input type="hidden" name="action" value="pt_free_write" />
<input type="hidden" name="nick" value="<%=nick %>" />

<table width="700" cellpadding="0" cellspacing="0" style="border: 1px solid #e6e6e6;">
	<tr height="60">
		<td width="10">&nbsp;</td>
		<td colspan="2">
			&nbsp;&nbsp;<img alt="" src="<%=request.getContextPath() %>/photo/img/Komori_Logo.png">
		</td>
		<td width="10">&nbsp;</td>
	</tr>
	
	<tr>
		<td width="10">&nbsp;</td>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Cm_Free_Board_2.png">
			
		</td>
		<td>
			<input type="text" name="po_title" size="55" onmouseover="this.style.backgroundColor='f9f7de'" onmouseout="this.style.backgroundColor=''" />
		</td>
		<td width="10">&nbsp;</td>
	</tr>
	
	<tr>
		<td width="10">&nbsp;</td>
		<td ><img alt="" src="<%=request.getContextPath() %>/photo/img/Cm_Free_Board_3.png"></td>
		<td ><input type="text" name="po_nick" value="<%= nick %>" size="55" onmouseover="this.style.backgroundColor='f9f7de'" onmouseout="this.style.backgroundColor=''" /></td>
		<td width="10">&nbsp;</td>
	</tr>
	<tr><td colspan="4">&nbsp;</td></tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td colspan="2">
		<FCK:editor instanceName="po_contents" toolbarSet="MyToolbarSet" height="450"></FCK:editor> 
		</td>
		<td width="10">&nbsp;</td>	
	</tr>
	
	<tr height="40" align="center">
		<td width="10">&nbsp;</td>
		<td colspan="2">
			<a href="/KOMORIUTA/PhotoFreeAction.do?action=pt_free_list2&nick=<%=nick %>"><img src="/KOMORIUTA/Mypage/image/Mybold_BeFore.png"></a>
			<img src="/KOMORIUTA/Mypage/image/Mybold_Join.png" border=0 style="cursor:pointer"  onClick="aaa()" />
		</td>
		<td width="10">&nbsp;</td>
	</tr>
</table>




<!-- 
<div>
	<table width="600" border=0 cellpadding=2 cellspacing=2> 
		<tr height="20">
			<td><b>タイトル</b></td>
			<td><input type="text" name="po_title" size="55" onmouseover="this.style.backgroundColor='f9f7de'" onmouseout="this.style.backgroundColor=''" /></td>
		</tr>
		<tr  height="20">
			<td><b>ユーザー名</b></td>
			<td><input type="text" name="po_nick" value="<%= nick %>" size="55" onmouseover="this.style.backgroundColor='f9f7de'" onmouseout="this.style.backgroundColor=''" /></td>
		</tr> 
		<tr>
			<td colspan="2"><FCK:editor instanceName="po_contents" toolbarSet="MyToolbarSet" height="450"></FCK:editor> </td>
		</tr>
		<tr>
			<td colspan="2" align="center">
			<a href="/KOMORIUTA/PhotoFreeAction.do?action=pt_free_list&nick=<%=nick %>"><img src="/KOMORIUTA/photo/img/torikesi.jpg" border=0  /></a>
			<img src="/KOMORIUTA/photo/img/karyou.jpg" border=0 style="cursor:pointer"  onClick="aaa()" /></td>

		</tr>
	</table>

</div>
 -->
</form>

</body>
</html>